package com.ftz.examinationsystem.pojo;

import java.util.Date;

/**
 * 机房考试安排表
 */
public class ERorder {
    private String EROrdId;  //考场中每一场考试编号，后2位是本场考试是这个机房的第几场考试
    private Integer RoomId; //机房号
    private Date ExamDate; //考试日期
    private Date EstartTime; //每场考试开始时间
    private Date EendTime;  //每场考试结束时间
    private String Etype; //考试课程
    private Integer Enumber; //参加每场考试的人数

    public ERorder() {
    }

    public ERorder(String EROrdId, Integer roomId, Date examDate, Date estartTime, Date eendTime, String etype, Integer enumber) {
        this.EROrdId = EROrdId;
        RoomId = roomId;
        ExamDate = examDate;
        EstartTime = estartTime;
        EendTime = eendTime;
        Etype = etype;
        Enumber = enumber;
    }

    public String getEROrdId() {
        return EROrdId;
    }

    public void setEROrdId(String EROrdId) {
        this.EROrdId = EROrdId;
    }

    public Integer getRoomId() {
        return RoomId;
    }

    public void setRoomId(Integer roomId) {
        RoomId = roomId;
    }

    public Date getExamDate() {
        return ExamDate;
    }

    public void setExamDate(Date examDate) {
        ExamDate = examDate;
    }

    public Date getEstartTime() {
        return EstartTime;
    }

    public void setEstartTime(Date estartTime) {
        EstartTime = estartTime;
    }

    public Date getEendTime() {
        return EendTime;
    }

    public void setEendTime(Date eendTime) {
        EendTime = eendTime;
    }

    public String getEtype() {
        return Etype;
    }

    public void setEtype(String etype) {
        Etype = etype;
    }

    public Integer getEnumber() {
        return Enumber;
    }

    public void setEnumber(Integer enumber) {
        Enumber = enumber;
    }

    @Override
    public String toString() {
        return "ERorder{" +
                "EROrdId='" + EROrdId + '\'' +
                ", RoomId='" + RoomId + '\'' +
                ", ExamDate=" + ExamDate +
                ", EstartTime=" + EstartTime +
                ", EendTime=" + EendTime +
                ", Etype='" + Etype + '\'' +
                ", Enumber=" + Enumber +
                '}';
    }
}
